package com.kb.order.service.impl;

import com.kb.order.service.IOrderCommentService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.kb.order.pojo.OrderComment;
import com.kb.order.dao.CommentDao;

@Service
public class OrderCommentService implements IOrderCommentService{

    @Resource
    private CommentDao commentDao;

    public int insert(OrderComment pojo){
        return commentDao.insert(pojo);
    }

    public int insertList(List< OrderComment> pojos){
        return commentDao.insertList(pojos);
    }

    public List<OrderComment> select(OrderComment pojo){
        return commentDao.select(pojo);
    }

    public int update(OrderComment pojo){
        return commentDao.update(pojo);
    }

}
